package com.zjdiepu.www.enums;

import com.zjdiepu.www.base.core.BaseEnum;

/**
 * 定时任务状态
 * @author xiongxiaotun
 *
 */
public enum TimedTaskStatus implements BaseEnum {
	/**
	 * 未执行，默认
	 */
	WEI_ZHI_XING(10, "未执行"),
	/**
	 * 已执行
	 */
	YI_ZHI_XING(100, "已执行"),
	/**
	 * 执行失败
	 */
	ZHI_XIN_SHI_BAI(9000, "执行失败");
	
	private Integer code;
	
	private String value;

	public Integer getCode() {
		return code;
	}

	public String getValue() {
		return value;
	}

	private TimedTaskStatus(Integer code, String value) {
		this.code = code;
		this.value = value;
	}

}
